package com.example.login.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;


@NoArgsConstructor
@Data
@TableName("user")
public class User {
    //@Column(name = "id" ,type = MySqlTypeConstant.INT , length = 24,isKey = true)
    @Id
    private Integer id;
    //@Column(name = "uid" ,type = MySqlTypeConstant.INT , length = 24,isKey = false)
    private Integer uid;
    //@Column(name = "mobile" ,type = MySqlTypeConstant.VARCHAR , length = 24,isKey = false)
    private String mobile;
    //@Column(name = "password" ,type = MySqlTypeConstant.VARCHAR , length = 24,isKey = false)
    private String password;
    //@Column(name = "isDel" ,type = MySqlTypeConstant.CHAR , length = 1,isKey = false)
    private Character isDel;
}